﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace CodeApi.Models
{
    public class ArticleModel
    {
        [ScaffoldColumn(false)]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
      
        public String ArticleTitle { get; set; }
        public String ArticleContent { get; set; }

        public int UID { get; set; }

        public int Number { get; set; }

        
        public DateTime CreateTime { get; set; }

        public int Kind { get; set; }

        public String Path { get; set; }

        public String Img1 { get; set; }

        public String Img2 { get; set; }

        public String Img3 { get; set; }


    }
}
